package org;

import org.newdawn.slick.Graphics;
 
public class Block  extends LevelObject {
	
	public Block(int x, int y, int size[],String type) {		
		super(x, y,               
				(int)x + size[0], (int)y + size[1],
				(int)x + size[2], (int)y + size[3],
				(int)x + size[4], (int)y + size[5],
				(int)x + size[6], (int)y + size[7],
				type);
	}
 
	public void update(int delta) {
	}
 
	public void draw(Graphics g) {
		g.draw(poly);
	}
}